<?php
/**
 * Created by Zhy
 * User: Zhy
 * Date: 2018/8/10
 * Time: 11:37
 */

namespace app\api\model;


use think\Model;

class AboutUs extends Model
{
    /**
     * 获取需要查询的内容
     * @param $field  需要查询的字段
     * @return array|false|\PDOStatement|string|Model
     */
    public function getField($field){
        $content = $this->where('id', 1)->field($field)->find();
        return $content;
    }
}